package com.rytong.tools.animation;

import android.view.animation.TranslateAnimation;

public class MoveAnimation extends TranslateAnimation {
	private float mTerminalX = 0;
    private float mTerminalY = 0;

    public MoveAnimation(float fromXDelta, float toXDelta, float fromYDelta, float toYDelta) {
        super(fromXDelta, toXDelta, fromYDelta, toYDelta);
    }
    
    public void setTerminal(float terminalX, float terminalY) {

        mTerminalX = terminalX;
        mTerminalY = terminalY;
    }

    public float getTerminalX() {

        return mTerminalX;
    }

    public float getTerminalY() {

        return mTerminalY;
    }
}
